Analysis of costs with patient care during hospitalization